package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.RecommendUser;

import java.util.List;

public interface RecommendUserApi {

    //根据touserId查询缘分值最高的数据
    RecommendUser findwithMaxScore(Long touserId);

    //根据toUSerId分页查询分页数据
    List<RecommendUser> findRecommtUsetList(Long toUserId, Integer page, Integer pageSize);


    //根据用户id和toUserId查询推荐数据
    RecommendUser queryByUserId(Long userId, Long toUserId);
    List<RecommendUser> findCardsUser(Long id ,int i);
}
